package com.alks.function.mapper.finance.fincons;

import com.alks.function.data.dto.finance.fincons.CostDetailsDto;
import com.alks.function.data.request.finance.fincons.CostDetailsRequest;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface CostSttlementMapper {

    /*费用明细查询*/
    List<CostDetailsDto> getCostDetailsList(@Param("companyId") String companyId, @Param("request") CostDetailsRequest request);

    /*通过ID查询费用明细*/
    List<CostDetailsDto> getCostDetailsListById(@Param("ids") List<Integer> ids);

    /*根据ID删除费用明细*/
    int deleteCostDetailsById(Integer id);
}
